import { Component, OnInit } from '@angular/core';
import { MockTestService } from '../../core/service/mock-test.service';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {

  constructor(private mockTestService: MockTestService) { }

  ngOnInit() {
    this.mockTestService.test().subscribe(
      data => console.log(data)
    );
  }

}
